package com.lht.testDemo;

/**
 * 测试通过 isInstance 方法判断两个class类型是否相同
 * @author Eric
 * @version 1.0
 * @date 2019-05-15
 */
public class ClassIsInstanceTest {


    public  static void main(String[] args){

        Class cls=Object.class;
        System.out.println(Object.class.isInstance(cls));
        Integer aa=1;

    }
}
